
a {
    color: #333;
    text-decoration: none;
}

body {
    font: 14px 微软雅黑, Arial;
}

body > main {
    padding: 10px;
    margin-left: 300px;
}

/**
 * 侧边导航栏
 */

body > nav {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    overflow-y: auto;

    width: 300px;
    border-right: solid #CCCCCC 1px;
    z-index: 99;
    margin: 15px 0;
    padding: 0;
}

body > nav .title {
    padding: 10px;
    margin: 5px 5px 20px 5px;
    border-bottom: solid 1px #ccc;
}

body > nav .footer {
    position: absolute;
    left: 0;
    bottom: 0;

    padding: 0 0 0 20px;
}

body > nav .footer small,
body > nav .footer a {
    color: #999;
}

/**
 * 类目导航树
 */

.file_tree {
    padding: 2px;
}

.file_tree ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.file_tree ul > li {
    margin: 2px 0;
    padding-left: 20px;
    background: url("./img/tree_line.png") -20px repeat-y;
}

.file_tree ul > li > ul {
    display: none;
}

.file_tree ul > li > p {
    padding: 0 0 2px 20px;
    margin: 0 0 0 -20px;
    background: url("./img/tree_middle.png") 0 4px no-repeat;
}

.file_tree ul > li > p > a {
    display: inline-block;
    color: #333;
    font-size: 14px;
    text-decoration: none;
}

.file_tree ul > li > p > a.tree-dir,
.file_tree ul > li > p > a.tree-content {
    display: inline;
    background: url("./img/icon_file.png") no-repeat;
    padding-left: 24px;
}

.file_tree ul > li > p > a.tree-dir {
    background-position: -1px 2px;
}

.file_tree ul > li > p > a.tree-content {
    background-position: 0 -30px;
}
